<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@page import="xupt.se.ttms.dao.UserDAO"%>
<%@page import="xupt.se.ttms.model.User"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
        + path + "/"; 
User user=(User)request.getSession().getAttribute("user");
String headpath=user.getPath();
System.out.println("login:"+user);
 %>
<html>
<head>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<style type="text/css">
     #person{
        float: right;
        margin-right: -160px;
        margin-top: 32px;
    }
    #name{
        float: right;
        font-size: 15px;
       margin-right: 100px;
       margin-top: 25px;
    }
</style>

</head>
<body>
    <% String name =(String)request.getSession().getAttribute("emp_name"); %>
	<div style="height:75px;line-height:75px;font-size:25px;vertical-align: middle;text-align: center" class="bg-primary">等等等影院管理系统
	    <span id="name"><img  src="<%=basePath+headpath %>" class="img-circle" style="width: 30px; height: 30px;" id="head"><%=name %>,你好 </span>
	    <a class="btn btn-danger"  id="person" href="../user/UserServlet?method=search"> 设置</a>
	</div>
</body>
</html>